<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发布公告</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/font-awesome.css">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/animate.css">
    <link rel="stylesheet" href="../css/plugins/simditor/simditor.css">
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/jquery.min.js"></script>
    <script src="../js/content.js"></script>
    <script src="../js/plugins/simditor/module.js"></script>
    <script src="../js/plugins/simditor/uploader.js"></script>
    <script src="../js/plugins/simditor/hotkeys.js"></script>
    <script src="../js/plugins/simditor/simditor.js"></script>

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>编辑公告内容</h5>
                </div>
                <div class="ibox-content">
                <form action="../NewsInfo" method="post">
                <input type="hidden" name="oper" value="newadd">
                <input name="nid" placeholder= "nid" class="form-control"><br>
                    <input name="title" placeholder= "题目" class="form-control"><br>
                    <input name="summary" placeholder= "摘要" class="form-control"><br>
                    <input name="author" placeholder= "发布者" class="form-control"><br>
                    <textarea id="content" name="content" placeholder="这里输入内容" autofocus></textarea><br>
                    <input type="submit" class="btn btn-primary" value="提交">
                    <a href="../NewsInfo?oper=newsall" class="btn btn-white">back </a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(document).ready(function () {
        var editor = new Simditor({
            textarea: $('#content'),
        });
    });
</script>
</body>
</html>
